home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 October
/
Macworld (1998-10).dmg
/
Serious Demos
/
Agamik BarCoding
/
Agamik BarCoder Demo 3.03
/
Agamik BarCoder Demo 3.03.rsrc
/
STR#_4001.txt
< prev
next >
Wrap
Text File
|
1998-05-23
|
5KB
|
531 lines
0 J 0 j 6 w 4 M []0 d
0 i
1 g
0 O
0 A
%%EndSetup
Agamik_Barcoder /initialize get exec
Agamik_customcolor /initialize get exec
Agamik_cshow /initialize get exec
%%BeginSetup
%%EndProlog
%%EndProcSet
setpacking
currentdict readonly pop end
currentdict readonly pop end
/setcustomcolor { 2 npop } bind def
/setcmykcolor { 4 npop } bind def
/setgray { pop } bind def
nc begin
/nc 3 dict def
/A { pop } def
} def
/_lp /none ddef
/_pss { _sc ss } ddef
/_ps { _sc stroke } ddef
} ddef
} if
/_lp /stroke ddef
_is _gs 1 exch sub setcustomcolor
_os setoverprint
_lp /stroke ne {
/_sc {
/_is exch ddef
findcmykcustomcolor
/_gs exch ddef
/X {
} def
/_lp /none ddef
/_psf { _fc exch pop ashow } ddef
/_pf { _fc fill } ddef
} ddef
} if
/_lp /fill ddef
_if _gf 1 exch sub setcustomcolor
_of setoverprint
_lp /fill ne {
/_fc {
/_if exch ddef
findcmykcustomcolor
/_gf exch ddef
/x {
} def
/_lp /none ddef
/_pss { _sc ss } ddef
/_ps { _sc stroke } ddef
} ddef
} if
/_lp /stroke ddef
_gs setgray
_os setoverprint
_lp /stroke ne {
/_sc {
/_gs exch ddef
/G {
} def
/_lp /none ddef
/_psf { _fc exch pop ashow } ddef
/_pf { _fc fill } ddef
} ddef
} if
/_lp /fill ddef
_gf setgray
_of setoverprint
_lp /fill ne {
/_fc {
/_gf exch ddef
/g {
/O { 0 ne /_of exch ddef /_lp /none ddef } def
/S { _ps } def
/f { closepath F } def
/F { _pf } def
/w { setlinewidth } def
/M { setmiterlimit } def
/J { setlinecap } def
/j { setlinejoin } def
/i { dup 0 eq { pop cf } if setflat } def
/cf currentflat def
/d { setdash } def
} ifelse
/m { pl moveto } def
/L /l load def
/l { pl lineto } def
/Y /y load def
/y { pl 2 copy curveto } def
/V /v load def
/v { currentpoint 6 2 roll pl curveto } def
/C /c load def
/c { pl curveto } def
{
}
/m { moveto } def
/L /l load def
/l { lineto } def
/Y /y load def
/y { 2 copy curveto } def
/V /v load def
/v { currentpoint 6 2 roll curveto } def
/C /c load def
/c { curveto } def
{ pop true setstrokeadjust
/setstrokeadjust where
} def
itransform
0.25 sub round 0.25 add exch
0.25 sub round 0.25 add exch
transform
/pl {
} def
3 npop
} exch cshow
2 copy rmoveto
moveto
grestore
stroke
4 index setmatrix
currentpoint
false charpath
gsave
2 copy 0 exch put pop
2 npop (0) exch
4 1 roll {
3 -1 roll pop
/ss {
} def
4 1 roll 3 1 roll 1 sub mul add
exch 5 -1 roll 3 index 1 sub mul add
stringwidth
/sw {
/npop { { pop } repeat } def
/ddef { Agamik_Barcoder_vars 3 1 roll put } def
/_ null def
/terminate { end end } def
} def
newpath
Agamik_Barcoder_vars begin
Agamik_Barcoder begin
end
end
end
pop pop } forall
dup xcheck { bind } if
Agamik_Barcoder dup /nc get begin {
Agamik_Barcoder begin
/_i null def
/_sdd null def
/_sd null def
/_sm null def
/_fdd null def
/_fd null def
/_fm null def
/_pm matrix def
/_ed 15 dict def
/_pd 1 dict def
/_sc {} def
/_os false def
/_is null def
/_cs 4 array def
/_gs null def
/_fc {} def
/_of false def
/_if null def
/_cf 4 array def
/_gf null def
/t {} def
/_tm matrix def
/_tl 2 array def
/_tt 2 array def
/_as null def
/_a null def
/_pss {} def
/_psf {} def
/_ps {} def
/_pf {} def
/_lp /none def
userdict /Agamik_Barcoder_vars 31 dict dup begin put
/initialize {
userdict /Agamik_Barcoder 73 dict dup begin put
currentpacking true setpacking
%%BeginProcSet: Agamik_Barcoder 1.20 0
%%EndProcSet
setpacking
currentdict readonly pop end
/setoverprint { pop } def
} def
setcmykcolor
5 -1 roll pop
4 { 4 index mul 4 1 roll } repeat
aload pop pop
exch
/setcustomcolor {
/findcmykcustomcolor { 5 packedarray } def
currentdict Agamik_customcolor eq { end } if } def
/terminate {
} def
} ifelse
Agamik_customcolor begin
end
} forall
pop pop
dup xcheck { bind } if
{ Agamik_customcolor begin Agamik_customcolor {
/setcustomcolor where { pop }
/initialize {
userdict /Agamik_customcolor 5 dict dup begin put
currentpacking true setpacking
%%BeginProcSet: Agamik_customcolor 1.0 0
%%EndProcSet
setpacking
currentdict readonly pop end
} def
} forall
0 0 Agamik_cshow_vars /_cshow get exec
exch put {
exch /_cshow
Agamik_cshow_vars
exch
/cshow {
/terminate {} def
} def
} ifelse
end
end
} forall
userdict 3 1 roll put
dup xcheck { bind } if
Agamik_cshow {
Agamik_cshow begin
/_cshow {} def
userdict /Agamik_cshow_vars 1 dict dup begin put
/cshow where { pop } {
{
/initialize
userdict /Agamik_cshow 3 dict dup begin put
currentpacking true setpacking
%%BeginProcSet: Agamik_cshow 1.1 0
Agamik_packedarray /initialize get exec
%%EndProcSet
currentdict readonly pop end
/currentpacking { false } def
/setpacking { pop } def
/packedarray { array astore readonly } def
/terminate { } def
} def
} ifelse
end
} forall
userdict 3 1 roll put
dup xcheck { bind } if
/packedarray where { pop } { Agamik_packedarray begin Agamik_packedarray {
{
/initialize
userdict /Agamik_packedarray 5 dict dup begin put
%%BeginProcSet: Agamik_packedarray 1.0 0
%%EndComments
%%DocumentPreview: Macintosh_ColorPic